package com.wky.org.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.wky.basic.query.BaseQuery;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Shop extends BaseQuery {
    @Excel(name = "店铺名字" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String name;
    @Excel(name = "店铺电话" ,orderNum = "2", width = 30, isImportField = "true_st")
    private String tel;
    @Excel(name = "注册时间" ,orderNum = "3", width = 30, isImportField = "true_st", exportFormat = "yyyy-MM-dd", importFormat = "yyyy-MM-dd")
    private Date registerTime;
    @Excel(name = "店铺状态" ,orderNum = "4", width = 30, isImportField = "true_st")
    //店铺状态，1待审核，2审核通过待激活，3激活成功，4驳回
    private Integer state;
    @Excel(name = "店铺地址" ,orderNum = "5", width = 30, isImportField = "true_st")
    private String address;
    @Excel(name = "店铺logo" ,orderNum = "6", width = 30, isImportField = "true_st")
    private String logo;
    //店长id
    private Long adminId;
    //店长信息
    private Employee admin;
}
